<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:70:"D:\zrhost\hzp\back\public/../application/admin/view/orders/update.html";i:1500548297;s:74:"D:\zrhost\hzp\back\public/../application/admin/view/public/headerbase.html";i:1500460707;s:68:"D:\zrhost\hzp\back\public/../application/admin/view/public/left.html";i:1500081818;s:70:"D:\zrhost\hzp\back\public/../application/admin/view/public/footer.html";i:1500081818;}*/ ?>
<!DOCTYPE html>
<html lang="zh-cn">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>公众平台自助引擎-中微信通</title>
		<meta name="keywords" content="" />
		<meta name="description" content="一款免费开源的微信公众平台管理系统，是国内最完善移动网站及移动互联网技术解决方案。" />
		<link rel="shortcut icon" href="__PUBLIC__/favicon.ico" />
		<link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet">
		<link href="__PUBLIC__/css/common.css" rel="stylesheet">
		<script type="text/javascript" src="__PUBLIC__/js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/util.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/require.js"></script>
		<link rel="stylesheet" href="__PUBLIC__/zrUploads/control/css/zyUpload.css" type="text/css" />
   
    <!-- 引用核心层插件 -->
    <script type="text/javascript" src="__PUBLIC__/zrUploads/core/zyFile.js"></script>

    <!-- 引用控制层插件 -->
    <script type="text/javascript" src="__PUBLIC__/zrUploads/control/js/zyUpload.js"></script>
    <!-- 引用初始化JS -->
    <script type="text/javascript" src="__PUBLIC__/zrUploads/demo.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/lang/zh-cn/zh-cn.js"></script>
		<style>
			.act{
				background-color: #428BCA;
			}
		</style>
	</head>

	<body data-skin="default" class=" ">
		<div class="loader" style="display:none">
			<div class="la-ball-clip-rotate">
				<div></div>
			</div>
		</div>
		<div class="head">
			<nav class="navbar navbar-default" role="navigation">
				<div class="container ">
					<div class="navbar-header">
						<a class="navbar-brand" href="http://localhost/upload/">
							<img src="__PUBLIC__/images/logo.png" class="pull-left" width="110px" height="35px">
							<span class="version">1.0.0</span>
						</a>
					</div>
					<div class="collapse navbar-collapse">
						<ul class="nav navbar-nav navbar-left">
							<li class="active">
								<a href="<?php echo url('Index/index'); ?>">系统管理</a>
							</li>
						</ul>
						<ul class="nav navbar-nav navbar-right">
							<li class="dropdown">
								<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="wi wi-user color-gray"></i><?php echo session('username'); ?><span class="caret"></span></a>
								<ul class="dropdown-menu color-gray" role="menu">
									<li>
										<a href="<?php echo url('Index/index'); ?>" target="_blank"><i class="wi wi-account color-gray"></i> 我的账号</a>
									</li>
									<li class="divider"></li>
									<li>
										<a href="<?php echo url('Login/loginout'); ?>"><i class="fa fa-sign-out color-gray"></i> 退出系统</a>
									</li>
								</ul>
							</li>
						</ul>
					</div>
				</div>
			</nav>
		</div>
		<div class="main">
			<div class="container">
				<div class="panel panel-content main-panel-content ">
					<div class="content-head panel-heading main-panel-heading">
						<span class="font-lg"><i class="wi wi-setting"></i> 系统管理</span>
					</div>
					<div class="panel-body clearfix main-panel-body "> <div class="left-menu">
	<div class="left-menu-content">
		<div class="left-menu-top skin-black">

			<div class="font-lg title-setting"><i class="wi wi-setting"></i> 系统管理</div>
		</div>
		<div class="panel panel-menu">
			<div class="panel-heading">
				<span class="no-collapse">帐户/用户<i class="wi wi-appsetting pull-right setting"></i></span>
				<span class="" data-toggle="collapse" data-target="#frame-user" onclick="util.cookie.set('menu_fold_tag:user', util.cookie.get('menu_fold_tag:user') == 1 ? 0 : 1)">帐户/用户<i class="wi wi-down-sign-s pull-right"></i></span>
			</div>

			<ul class="list-group collapse in" id="frame-user">
				<li class="list-group-item <?php if($a == 'Index'): ?>act<?php endif; ?>">
					<a href="<?php echo url('Index/index'); ?>" class="text-over">
						<i class="wi wi-account"></i> 我的帐户 </a>
				</li>
			</ul>
		</div>
		<div class="panel panel-menu">
			<div class="panel-heading">
				<span class="no-collapse">菜单列表<i class="wi wi-appsetting pull-right setting"></i></span>
			</div>

			<ul class="list-group collapse in" id="frame-wxplatform">
				<li class="list-group-item <?php if($a == 'Banner'): ?>act<?php endif; ?>">
					<a href="<?php echo url('Banner/index'); ?>" class="text-over">
						<i class="fa fa-photo"></i> 首页轮播图 </a>
				</li>
				<li class="list-group-item <?php if($a == 'Cate'): ?>act<?php endif; ?>">
					<a href="<?php echo url('Cate/index'); ?>" class="text-over">
						<i class="wi wi-notice"></i> 商品分类 </a>
				</li>
				<!-- <li class="list-group-item <?php if($a == 'Coupon'): ?>act<?php endif; ?>">
					<a href="<?php echo url('Coupon/index'); ?>" class="text-over">
						<i class="wi wi-message"></i> 优惠券管理 </a>
				</li> -->
				<li class="list-group-item <?php if($a == 'Brand'): ?>act<?php endif; ?>">
					<a href="<?php echo url('Brand/index'); ?>" class="text-over">
						<i class="wi wi-notice"></i> 品牌管理 </a>
				</li>
				<li class="list-group-item <?php if($a == 'Goods'): ?>act<?php endif; ?>">
					<a href="<?php echo url('Goods/index'); ?>" class="text-over">
						<i class="wi wi-template"></i> 商品管理 </a>
				</li>
				<li class="list-group-item <?php if($a == 'Orders'): ?>act<?php endif; ?>">
					<a href="<?php echo url('Orders/index'); ?>" class="text-over">
						<i class="wi wi-registersite"></i> 订单管理 </a>
				</li>
				<li class="list-group-item <?php if($a == 'User'): ?>act<?php endif; ?>">
					<a href="<?php echo url('User/index'); ?>" class="text-over">
						<i class="wi wi-template"></i> 用户管理 </a>
				</li>
			</ul>
		</div>
	</div>
</div>

<div class="right-content">
	<ol class="breadcrumb we7-breadcrumb">
		<li>
			<a href="<?php echo url('Brand/index'); ?>">品牌介绍</a>
		</li>
		<li>
			编辑信息
		</li>
	</ol>
	<div class="clearfix">
	
		<div class="we7-form">
			<div class="form-group">
				<label class="col-sm-2 control-label">收件人</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="ousername" id="ousername" value="<?php echo $data['ousername']; ?>" placeholder="收件人" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">联系电话</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="omobile" id="omobile" value="<?php echo $data['omobile']; ?>" placeholder="联系电话" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">收货地址</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="oaddress" id="oaddress" value="<?php echo $data['oaddress']; ?>" placeholder="收货地址" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">商品名称</label>
				<div class="col-sm-8">
					<?php if(is_array($goodslist) || $goodslist instanceof \think\Collection || $goodslist instanceof \think\Paginator): if( count($goodslist)==0 ) : echo "" ;else: foreach($goodslist as $key=>$val): ?>
						<label class="glist" style="padding-left:20px">名称：</label> <span class="gdata"><?php echo $val['dtitle']; ?></span>
						<label class="glist" style="padding-left:20px">规格：</label> <span class="gdata"><?php echo $val['dspec']; ?></span>
						<label class="glist" style="padding-left:20px">数量：</label> <span class="gdata"><?php echo $val['dnum']; ?></span>
						<label class="glist" style="padding-left:20px">单价：</label> <span class="gdata">￥<?php echo $val['dprice']; ?></span><br />
						
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</div>
			</div>
		
			<div class="form-group">
				<label class="col-sm-2 control-label">运费</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="ofare" id="ofare" value="<?php echo $data['ofare']; ?>" placeholder="运费" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">优惠券金额</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="ocoupon" id="ocoupon" value="<?php echo $data['ocoupon']; ?>" placeholder="优惠券金额" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">支付金额</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="opaymoney" id="opaymoney" value="<?php echo $data['opaymoney']; ?>" placeholder="支付金额" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">支付状态</label>
				<div class="col-sm-8">
					<input type="text" class="form-control" name="ostarts" id="ostarts" value='<?php if($data['ostarts'] == 0): ?>待付款<?php elseif($data['ostarts'] == 1): ?>待发货<?php elseif($data['ostarts'] == 2): ?>已发货<?php else: ?>已完成<?php endif; ?>' placeholder="支付状态" disabled="disabled"/>
				</div>
			</div>
			<div class="form-group">
				<div class="">
					<a href="<?php echo url('Orders/index'); ?>"><button type="button" class="btn btn-success">返回</button></a>
				</div>
			</div>
		</div>
	
	</div>
	<script>
	// function tijiao(bid){
	// 	var bname=$('#bname').val();
	// 	$.ajax({
	//         url: "<?php echo url('Brand/xiugai'); ?>",
	//         data:{"bname":bname,"bid":bid},
	//         type: "post",
	//         dataType: "json",
	//         success: function (mega) {
	//           if(mega==1){
	//            		util.message('修改品牌成功', '', '');
	//            }else{
	//            		util.message('修改品牌失败', '', '');
	//            }
	//         }
 //    	});
	// }
	</script>
</div>
</div>
</div>
</div>
</div>
				</div>
			</div>
		</div>
	</div>
	<div class="container-fluid footer text-center" role="footer">
		<div class="friend-link" style="color:#000">
			<a href="http://www.zhongweixintong.com">QQ:553101513&nbsp;&nbsp;联系电话:010-64125951/64125035</a>
		</div>
		<div style="color:#000">
			<a href="http://www.zhongweixintong.com"><b>中微信通</b></a> v1.0.0 &copy; 2014-2017
			<a href="http://www.zhongweixintong.com">www.zhongweixintong.com</a>
		</div>
	</div>
</body>
</html>
